﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Ryder_US_Website.Presentation.Admin
{
    public partial class Banking : System.Web.UI.Page
    {
        public BankingService.BankingService bank = new Ryder_US_Website.BankingService.BankingService();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["RUS_User"] == null)
            {
                Response.Redirect("Login.aspx");
            }
            BankingService.bankingInfo info = bank.GetAccountInfo("123456789", "123");
            lbTenChuTK.Text = info.Name;
            lbSoTaiKhoan.Text = info.Account;
            lbSoDu.Text = info.Money.ToString();
        }
    }
}
